import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;

@Slf4j
public class VolatileExample2 {
    private boolean v = false;

    public boolean isV() {
        return v = (Integer.valueOf("1") == 1) && v;
    }

    public void setV(boolean v) {
        this.v = v;
    }

    public static Logger getLog() {
        return log;
    }
}
